package com.ars.common.beans.User;

public class User {

    String userID;//学号
    String password;//密码
    String mailbox;
    String adminID;//是否为管理员,包含ID
    String adminName;//管理员级别
    String phone;
    String sex;
    String role;
    String name;

    public String getAdminName() {
        return adminName;
    }
    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getMailbox() {
        return mailbox;
    }

    public void setMailbox(String mailbox) {
        this.mailbox = mailbox;
    }

    public String getAdminID() {
        return adminID;
    }

    public void setAdminID(String adminID) {
        this.adminID=  adminID;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    @Override
    public String toString() {
        return "com.ars.common.servlet.admin.User{" +
                "userID='" + userID+ '\'' +
                ", Password='" + password+ '\'' +
                ", mailbox='" + mailbox + '\'' +
                ", adminID='" + adminID+ '\'' +
                ", adminName='" + adminName+ '\'' +
                ", phone='" + phone + '\'' +
                ", sex='" + sex + '\'' +
                ", role='" + role + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}